package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 慢病报销对象 recompense
 * 
 * @author moweiyu
 * @date 2021-05-21
 */
public class Recompense extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long medInfoId;

    /** 医院发票号 */
    @Excel(name = "医院发票号")
    private String mrNumber;

    /** 预报销金额 */
    @Excel(name = "预报销金额")
    private BigDecimal beforeFee;

    /** 实际报销金额 */
    @Excel(name = "实际报销金额")
    private BigDecimal actualFee;

    /** 参合农民身份证号 */
    @Excel(name = "参合农民身份证号")
    private String idCard;

    /** 领款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date miTime;

    /** 操作员 */
    @Excel(name = "操作员")
    private String miPerson;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 农合证号 */
    @Excel(name = "农合证号")
    private String nonghecard;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 疾病名称 */
    @Excel(name = "疾病名称")
    private String illness;

    /** 累计报销金额 */
    @Excel(name = "累计报销金额")
    private Long mubFee;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 乡镇农合办经办人审批 */
    @Excel(name = "乡镇农合办经办人审批")
    private Integer approvalXz;

    /** 县农经办人汇款审批 */
    @Excel(name = "县农经办人汇款审批")
    private Integer approvalXn;

    /** 报销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reimbursementTime;

    /** 乡镇农合办经办人审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "乡镇农合办经办人审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalXzTime;

    /** 县农经办人汇款审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "县农经办人汇款审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalXnTime;

    /** 报销编号 */
    @Excel(name = "报销编号")
    private String reimbursementNumber;

    /** 办理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "办理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 行政区域 */
    @Excel(name = "行政区域")
    private String area;

    public void setMedInfoId(Long medInfoId) 
    {
        this.medInfoId = medInfoId;
    }

    public Long getMedInfoId() 
    {
        return medInfoId;
    }
    public void setMrNumber(String mrNumber) 
    {
        this.mrNumber = mrNumber;
    }

    public String getMrNumber() 
    {
        return mrNumber;
    }
    public void setBeforeFee(BigDecimal beforeFee) 
    {
        this.beforeFee = beforeFee;
    }

    public BigDecimal getBeforeFee() 
    {
        return beforeFee;
    }
    public void setActualFee(BigDecimal actualFee) 
    {
        this.actualFee = actualFee;
    }

    public BigDecimal getActualFee() 
    {
        return actualFee;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setMiTime(Date miTime) 
    {
        this.miTime = miTime;
    }

    public Date getMiTime() 
    {
        return miTime;
    }
    public void setMiPerson(String miPerson) 
    {
        this.miPerson = miPerson;
    }

    public String getMiPerson() 
    {
        return miPerson;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setNonghecard(String nonghecard) 
    {
        this.nonghecard = nonghecard;
    }

    public String getNonghecard() 
    {
        return nonghecard;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setIllness(String illness) 
    {
        this.illness = illness;
    }

    public String getIllness() 
    {
        return illness;
    }
    public void setMubFee(Long mubFee) 
    {
        this.mubFee = mubFee;
    }

    public Long getMubFee() 
    {
        return mubFee;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setApprovalXz(Integer approvalXz) 
    {
        this.approvalXz = approvalXz;
    }

    public Integer getApprovalXz() 
    {
        return approvalXz;
    }
    public void setApprovalXn(Integer approvalXn) 
    {
        this.approvalXn = approvalXn;
    }

    public Integer getApprovalXn() 
    {
        return approvalXn;
    }
    public void setReimbursementTime(Date reimbursementTime) 
    {
        this.reimbursementTime = reimbursementTime;
    }

    public Date getReimbursementTime() 
    {
        return reimbursementTime;
    }
    public void setApprovalXzTime(Date approvalXzTime) 
    {
        this.approvalXzTime = approvalXzTime;
    }

    public Date getApprovalXzTime() 
    {
        return approvalXzTime;
    }
    public void setApprovalXnTime(Date approvalXnTime) 
    {
        this.approvalXnTime = approvalXnTime;
    }

    public Date getApprovalXnTime() 
    {
        return approvalXnTime;
    }
    public void setReimbursementNumber(String reimbursementNumber) 
    {
        this.reimbursementNumber = reimbursementNumber;
    }

    public String getReimbursementNumber() 
    {
        return reimbursementNumber;
    }
    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("medInfoId", getMedInfoId())
            .append("mrNumber", getMrNumber())
            .append("beforeFee", getBeforeFee())
            .append("actualFee", getActualFee())
            .append("idCard", getIdCard())
            .append("miTime", getMiTime())
            .append("miPerson", getMiPerson())
            .append("name", getName())
            .append("sex", getSex())
            .append("nonghecard", getNonghecard())
            .append("address", getAddress())
            .append("illness", getIllness())
            .append("mubFee", getMubFee())
            .append("year", getYear())
            .append("approvalXz", getApprovalXz())
            .append("approvalXn", getApprovalXn())
            .append("reimbursementTime", getReimbursementTime())
            .append("approvalXzTime", getApprovalXzTime())
            .append("approvalXnTime", getApprovalXnTime())
            .append("reimbursementNumber", getReimbursementNumber())
            .append("handleTime", getHandleTime())
            .append("area", getArea())
            .toString();
    }
}
